<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'insertdriver.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body background="images/picture_4.png">
   <section class="view">
    <div class="officialcar">
      <center><h1>欢迎进入管理员系统</h1>
      <p>录入司机</p><br/>
      <table width="200" border="1">    
	  <form method="post" action="DriverServlet?mark=insert">	  
	<tr>
    <td>司机名字</td>
    <td><input type="text" name="name_dr"" value="小米" placeholder="司机名字"></td>
  </tr>
 <tr>
    <td>年龄</td>
    <td><input type="text" name="age_dr" value="123" placeholder="年龄"></td>
  </tr>
 <tr>
    <td>电话</td>
    <td><input type="text" name="tel_dr" value="10086" placeholder="电话"></td>
  </tr>
<tr>
    <td>地址</td>
    <td><input type="text" name="address_dr" value="北京" placeholder="地址"></td>
  </tr>	  
<tr>
    <td>身份证</td>
    <td><input type="text" name="idcard_dr" value="45222" placeholder="身份证"></td>
  </tr>	  
<tr>
    <td>状态</td>
    <td><input type="text" name="state_dr" value="1" placeholder="状态"></td>
  </tr>	
 <tr>
    <td colspan="2"><center><input type="submit" name="insert" value="增加"></td>
  </tr>  
</form>  
</table>
      <br><br>     
       <center><a href="admin/driver.jsp"><input name="commit" type="submit" id="back" value="返回">
       </a>
      </div>
  </body>
</html>
